package thread;

public class MyThreadB extends Thread{
	private Myservice myservice;

	public MyThreadB(Myservice myservice) {
		this.myservice = myservice;
	}
	
	@Override
	public void run(){
		while(true){
			myservice.get();
		}
	}
	
}
